package com.htpay.model.common;

import java.math.BigDecimal;

public class DictConstant {

    /**
     * 正常状态
     */
    public static final Integer STATUS_NORMAL = 0;

    /**
     * 禁用状态
     */
    public static final Integer STATUS_DISABLE = -1;

    /**
     * 删除标志
     */
    public static final Integer DEL_FLAG_1 = 1;

    /**
     * 未删除
     */
    public static final Integer DEL_FLAG_0 = 0;

    /**
     * 系统日志类型： 登录
     */
    public static final int LOG_TYPE_1 = 1;

    /**
     * 系统日志类型： 操作
     */
    public static final int LOG_TYPE_2 = 2;

    /**
     * 操作日志类型： 查询
     */
    public static final int OPERATE_TYPE_1 = 1;

    /**
     * 操作日志类型： 添加
     */
    public static final int OPERATE_TYPE_2 = 2;

    /**
     * 操作日志类型： 更新
     */
    public static final int OPERATE_TYPE_3 = 3;

    /**
     * 操作日志类型： 删除
     */
    public static final int OPERATE_TYPE_4 = 4;

    /**
     * 操作日志类型： 倒入
     */
    public static final int OPERATE_TYPE_5 = 5;

    /**
     * 操作日志类型： 导出
     */
    public static final int OPERATE_TYPE_6 = 6;


    /**
     * 通告对象类型（USER:指定用户，ALL:全体用户）
     */
    public static final String MSG_TYPE_UESR = "USER";
    public static final String MSG_TYPE_ALL = "ALL";

    /**
     * 发布状态（0未发布，1已发布，2已撤销）
     */
    public static final String NO_SEND = "0";
    public static final String HAS_SEND = "1";
    public static final String HAS_CANCLE = "2";

    /**
     * 阅读状态（0未读，1已读）
     */
    public static final String HAS_READ_FLAG = "1";
    public static final String NO_READ_FLAG = "0";

    /**
     * 短信模板方式  0 .登录模板、1.注册模板、2.忘记密码模板
     */
    public static final String SMS_TPL_TYPE_0 = "0";
    public static final String SMS_TPL_TYPE_1 = "1";
    public static final String SMS_TPL_TYPE_2 = "2";

    /**
     * 状态(0无效1有效)
     */
    public static final String STATUS_0 = "0";
    public static final String STATUS_1 = "1";


    /**
     * 是否用户已被冻结 0(解冻)正常 1冻结
     */
    public static final Integer USER_UNFREEZE = 0;
    public static final Integer USER_FREEZE = 1;

    /**
     * 字典翻译文本后缀
     */
    public static final String DICT_TEXT_SUFFIX = "_dictText";

    /**
     * 收款账户类型
     * <p>
     * 1支付宝、2微信、3网银、4其他
     */
    public static final String DICT_WITH_DRAW_TYPE_1 = "1";
    public static final String DICT_WITH_DRAW_TYPE_2 = "2";
    public static final String DICT_WITH_DRAW_TYPE_3 = "3";
    public static final String DICT_WITH_DRAW_TYPE_4 = "4";

    /**
     * 审核状态
     */
    public static final char DICT_WITH_DRAW_STATUS_1 = '1';
    public static final char DICT_WITH_DRAW_STATUS_2 = '2';
    public static final char DICT_WITH_DRAW_STATUS_3 = '3';
    public static final char DICT_WITH_DRAW_STATUS_4 = '4';

    /**
     * 最低提现金额
     */
    public static BigDecimal LEAST_WITH_DRAW_MONEY = new BigDecimal("3000.00");

    /**
     * 商户订单状态：0-未支付、1-已支付
     */
    public static final char MERCHANT_ORDER_STATUS_0 = '0';
    public static final char MERCHANT_ORDER_STATUS_1 = '1';

}
